package com.pets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 下载记录表
 * </p>
 *
 * @author 啦啦啦
 * @since 2024-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("download_record")
@ApiModel(value="DownloadRecord对象", description="下载记录表")
public class DownloadRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "下载记录id")
    @TableId(value = "download_record_id", type = IdType.AUTO)
    private Integer downloadRecordId;

    @ApiModelProperty(value = "文件id")
    private Integer fileId;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "下载用户id")
    private Integer userId;

    @ApiModelProperty(value = "下载时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "删除标识")
    private Boolean Deleted;
}
